<% if flash[:notice] -%>
  <div id="notice"><%= flash[:notice] %></div>
<% end -%>
<div class="depot-form">
  <% form_tag do %>
    <fieldset>
      <legend><%= t :header, :scope => 'login' %></legend>
      <div>
        <label for="login"><%= t :login, :scope => %w{login fields} %></label>
        <%= text_field_tag :login, params[:login] %>
      </div>
      <div>
        <label for="password"><%= t :password, :scope => %w{login fields} %></label>
        <%= password_field_tag :password, params[:password] %>
      </div>
      <div>
        <%= submit_tag t(:login, :scope => %w{login}) %>
      </div>
    </fieldset>
  <% end %>
</div>